<?php
	require "../modules/conn.php";
	session_start();
	
	$sid=$_SESSION["sid"];
	$sql="select * from t_sell where sid=$sid";
	// echo $sid;
	$result=mysqli_query($conn,$sql);
	if($result){
		while($row=mysqli_fetch_assoc($result)){
			echo json_encode($row);
			// echo "ok";
		}
	}else{
		echo $sql;
	}
?>